package net.xdclass.service;

import net.xdclass.model.AddressDO;
import net.xdclass.request.AddressAddReqeust;
import net.xdclass.vo.AddressVO;

import java.util.List;

public interface AddressService {

    /**
     * 查找指定地址详情
     * @param id
     * @return
     */
    AddressVO detail(Long id);


    /**
     * 新增收货地址
     * @param addressAddReqeust
     */
    void add(AddressAddReqeust addressAddReqeust);

    int del(int addressId);

    List<AddressVO> listUserAllAddress();
}
